package org.king.service;

import org.king.pojo.dto.account.ResetPasswordConfirmDTO;
import org.king.pojo.dto.account.ResetPasswordDTO;
import org.king.pojo.entity.Account;
import org.king.pojo.dto.account.AccountRegisterByEmailDTO;

import java.util.List;

public interface AccountService {
    public List<Account> getAllUsers();
    public Account getUserById(int id);
    public Account getUserByEmailOrUsername(String email);
    public String registerEmailVerifyCode(String type, String email, String address);
    public String registerEmailAccount(AccountRegisterByEmailDTO vo);
    public String resetConfirmCode(ResetPasswordConfirmDTO dto);
    public String resetPassword(ResetPasswordDTO dto);
}
